package com.itheima.myException;

public class Demo2 {
    public static void main(String[] args) throws  Exception{
        method();
    }

    private static void method() throws  Exception{
        int[] arr = new int[3];
        System.out.println(arr[0]);
        System.out.println(arr[3]);
        System.out.println("抓捕归案");

    }

    private static void method2() {

    }
}
